//
//  SubjectView.h
//  
//
//  Created by Christian Speich on 16.12.07.
//  Copyright 2007-2008 Christian Speich. All rights reserved.
//

#import <CoreFoundation/CoreFoundation.h>
#import <Foundation/Foundation.h>
#import <UIKit/CDStructures.h>
#import <UIKit/UIHardware.h>
#import <UIKit/UIApplication.h>
#import <UIKit/UIKit.h>
#import <UIKit/UIView.h>
#import <UIKit/UISectionTable.h>
#import <UIKit/UISectionList.h>
#import <UIKit/UINavigationItem.h>

@class SubjectsManager;
@class ViewManager;

@interface SubjectView : UIView {
	UISectionTable *table;
	UISectionList *sectionList;
	NSMutableArray *subjectCells;
	NSMutableArray *averageCells;
	NSMutableArray *detailViews;
	SubjectsManager *subjectsManager;	
	ViewManager *viewManager;
	UINavigationItem *navItem;
}

- (id)initWithFrame:(struct CGRect)frame andSubjectsManager:(SubjectsManager*)subjectsManager;
- (void)makeContent;
- (void)refreshContent;

@end
